﻿using Habanero.UI.Base;
using UseCaseManager.UI;

namespace UseCaseManager.Menu
{
    class BurnDownChartControlMenuItem:MenuItemCreator
    {
        public override void AddToMenu(HabaneroMenu currentMenu, IControlFactory controlFactory)
        {
            HabaneroMenu.Item menuItem = currentMenu.AddMenuItem("Burn Down Chart (BurnDownChartControl)");
            menuItem.FormControlCreator += (() => new BurnDownChartControl());
        }
    }
}
